﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ARS.Control.Factory
{
    public class Dp_HtmlHelperFactory
    {
        /// <summary>
        /// 创建htmlhelper
        /// </summary>
        /// <returns></returns>
        public static ARS.Control.Custom.DataPaging.Widget.HtmlHelper CreateHtmlHelper()
        {
            var obj = ARS.PublicTool.ReflectionHelper.CreateObjectNoCacheConfig<ARS.Control.Custom.DataPaging.Widget.HtmlHelper>("DpHtmlHelperAssembly", "DpHtmlHelperClass");
            if (obj == null)
            {
                ARS.Control.Custom.DataPaging.Widget.HtmlHelper helper = new Custom.DataPaging.Widget.HtmlHelper();
                //return ARS.Control.Custom.DataPaging.Widget.HtmlHelper;
                return helper;
            }
            else
            {
                return obj;
            }
        }
    }

}
